<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<script type="text/javascript" src="js/jquery-3.5.1.min.js"></script>
<script type="text/javascript">
    /*function init() {
        var loc = location.href;
        var n1 = loc.length;//地址的总长度
        var n2 = loc.indexOf("=");//取得=号的位置
        var email = decodeURI(loc.substr(n2+1, n1-n2));//从=号后面的内容
        $("#div").html(email+"，欢迎登陆系统！");
    };*/
	function init() {
        var loc = location.href;
        var n1 = loc.length;//地址的总长度
        var n2 = loc.indexOf("=");//取得=号的位置
        var email = decodeURI(loc.substr(n2+1, n1-n2));//从=号后面的内容
        $("#div").html(email+"，欢迎登陆系统！");
		
    };
</script>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>欢迎</title>
</head>
<body onload="init()">
<center>
    <div id="div"></div>
</center>
</body>
</html>